/*  zwt */
package cn.mandy.sysadmin.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class KettleTransStepLogExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public KettleTransStepLogExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdBatchIsNull() {
            addCriterion("ID_BATCH is null");
            return (Criteria) this;
        }

        public Criteria andIdBatchIsNotNull() {
            addCriterion("ID_BATCH is not null");
            return (Criteria) this;
        }

        public Criteria andIdBatchEqualTo(Integer value) {
            addCriterion("ID_BATCH =", value, "idBatch");
            return (Criteria) this;
        }

        public Criteria andIdBatchNotEqualTo(Integer value) {
            addCriterion("ID_BATCH <>", value, "idBatch");
            return (Criteria) this;
        }

        public Criteria andIdBatchGreaterThan(Integer value) {
            addCriterion("ID_BATCH >", value, "idBatch");
            return (Criteria) this;
        }

        public Criteria andIdBatchGreaterThanOrEqualTo(Integer value) {
            addCriterion("ID_BATCH >=", value, "idBatch");
            return (Criteria) this;
        }

        public Criteria andIdBatchLessThan(Integer value) {
            addCriterion("ID_BATCH <", value, "idBatch");
            return (Criteria) this;
        }

        public Criteria andIdBatchLessThanOrEqualTo(Integer value) {
            addCriterion("ID_BATCH <=", value, "idBatch");
            return (Criteria) this;
        }

        public Criteria andIdBatchIn(List<Integer> values) {
            addCriterion("ID_BATCH in", values, "idBatch");
            return (Criteria) this;
        }

        public Criteria andIdBatchNotIn(List<Integer> values) {
            addCriterion("ID_BATCH not in", values, "idBatch");
            return (Criteria) this;
        }

        public Criteria andIdBatchBetween(Integer value1, Integer value2) {
            addCriterion("ID_BATCH between", value1, value2, "idBatch");
            return (Criteria) this;
        }

        public Criteria andIdBatchNotBetween(Integer value1, Integer value2) {
            addCriterion("ID_BATCH not between", value1, value2, "idBatch");
            return (Criteria) this;
        }

        public Criteria andChannelIdIsNull() {
            addCriterion("CHANNEL_ID is null");
            return (Criteria) this;
        }

        public Criteria andChannelIdIsNotNull() {
            addCriterion("CHANNEL_ID is not null");
            return (Criteria) this;
        }

        public Criteria andChannelIdEqualTo(String value) {
            addCriterion("CHANNEL_ID =", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdNotEqualTo(String value) {
            addCriterion("CHANNEL_ID <>", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdGreaterThan(String value) {
            addCriterion("CHANNEL_ID >", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdGreaterThanOrEqualTo(String value) {
            addCriterion("CHANNEL_ID >=", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdLessThan(String value) {
            addCriterion("CHANNEL_ID <", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdLessThanOrEqualTo(String value) {
            addCriterion("CHANNEL_ID <=", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdLike(String value) {
            addCriterion("CHANNEL_ID like", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdNotLike(String value) {
            addCriterion("CHANNEL_ID not like", value, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdIn(List<String> values) {
            addCriterion("CHANNEL_ID in", values, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdNotIn(List<String> values) {
            addCriterion("CHANNEL_ID not in", values, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdBetween(String value1, String value2) {
            addCriterion("CHANNEL_ID between", value1, value2, "channelId");
            return (Criteria) this;
        }

        public Criteria andChannelIdNotBetween(String value1, String value2) {
            addCriterion("CHANNEL_ID not between", value1, value2, "channelId");
            return (Criteria) this;
        }

        public Criteria andLogDateIsNull() {
            addCriterion("LOG_DATE is null");
            return (Criteria) this;
        }

        public Criteria andLogDateIsNotNull() {
            addCriterion("LOG_DATE is not null");
            return (Criteria) this;
        }

        public Criteria andLogDateEqualTo(Date value) {
            addCriterion("LOG_DATE =", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotEqualTo(Date value) {
            addCriterion("LOG_DATE <>", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateGreaterThan(Date value) {
            addCriterion("LOG_DATE >", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateGreaterThanOrEqualTo(Date value) {
            addCriterion("LOG_DATE >=", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateLessThan(Date value) {
            addCriterion("LOG_DATE <", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateLessThanOrEqualTo(Date value) {
            addCriterion("LOG_DATE <=", value, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateIn(List<Date> values) {
            addCriterion("LOG_DATE in", values, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotIn(List<Date> values) {
            addCriterion("LOG_DATE not in", values, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateBetween(Date value1, Date value2) {
            addCriterion("LOG_DATE between", value1, value2, "logDate");
            return (Criteria) this;
        }

        public Criteria andLogDateNotBetween(Date value1, Date value2) {
            addCriterion("LOG_DATE not between", value1, value2, "logDate");
            return (Criteria) this;
        }

        public Criteria andTransnameIsNull() {
            addCriterion("TRANSNAME is null");
            return (Criteria) this;
        }

        public Criteria andTransnameIsNotNull() {
            addCriterion("TRANSNAME is not null");
            return (Criteria) this;
        }

        public Criteria andTransnameEqualTo(String value) {
            addCriterion("TRANSNAME =", value, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameNotEqualTo(String value) {
            addCriterion("TRANSNAME <>", value, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameGreaterThan(String value) {
            addCriterion("TRANSNAME >", value, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameGreaterThanOrEqualTo(String value) {
            addCriterion("TRANSNAME >=", value, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameLessThan(String value) {
            addCriterion("TRANSNAME <", value, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameLessThanOrEqualTo(String value) {
            addCriterion("TRANSNAME <=", value, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameLike(String value) {
            addCriterion("TRANSNAME like", value, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameNotLike(String value) {
            addCriterion("TRANSNAME not like", value, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameIn(List<String> values) {
            addCriterion("TRANSNAME in", values, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameNotIn(List<String> values) {
            addCriterion("TRANSNAME not in", values, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameBetween(String value1, String value2) {
            addCriterion("TRANSNAME between", value1, value2, "transname");
            return (Criteria) this;
        }

        public Criteria andTransnameNotBetween(String value1, String value2) {
            addCriterion("TRANSNAME not between", value1, value2, "transname");
            return (Criteria) this;
        }

        public Criteria andStepnameIsNull() {
            addCriterion("STEPNAME is null");
            return (Criteria) this;
        }

        public Criteria andStepnameIsNotNull() {
            addCriterion("STEPNAME is not null");
            return (Criteria) this;
        }

        public Criteria andStepnameEqualTo(String value) {
            addCriterion("STEPNAME =", value, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameNotEqualTo(String value) {
            addCriterion("STEPNAME <>", value, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameGreaterThan(String value) {
            addCriterion("STEPNAME >", value, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameGreaterThanOrEqualTo(String value) {
            addCriterion("STEPNAME >=", value, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameLessThan(String value) {
            addCriterion("STEPNAME <", value, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameLessThanOrEqualTo(String value) {
            addCriterion("STEPNAME <=", value, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameLike(String value) {
            addCriterion("STEPNAME like", value, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameNotLike(String value) {
            addCriterion("STEPNAME not like", value, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameIn(List<String> values) {
            addCriterion("STEPNAME in", values, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameNotIn(List<String> values) {
            addCriterion("STEPNAME not in", values, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameBetween(String value1, String value2) {
            addCriterion("STEPNAME between", value1, value2, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepnameNotBetween(String value1, String value2) {
            addCriterion("STEPNAME not between", value1, value2, "stepname");
            return (Criteria) this;
        }

        public Criteria andStepCopyIsNull() {
            addCriterion("STEP_COPY is null");
            return (Criteria) this;
        }

        public Criteria andStepCopyIsNotNull() {
            addCriterion("STEP_COPY is not null");
            return (Criteria) this;
        }

        public Criteria andStepCopyEqualTo(Integer value) {
            addCriterion("STEP_COPY =", value, "stepCopy");
            return (Criteria) this;
        }

        public Criteria andStepCopyNotEqualTo(Integer value) {
            addCriterion("STEP_COPY <>", value, "stepCopy");
            return (Criteria) this;
        }

        public Criteria andStepCopyGreaterThan(Integer value) {
            addCriterion("STEP_COPY >", value, "stepCopy");
            return (Criteria) this;
        }

        public Criteria andStepCopyGreaterThanOrEqualTo(Integer value) {
            addCriterion("STEP_COPY >=", value, "stepCopy");
            return (Criteria) this;
        }

        public Criteria andStepCopyLessThan(Integer value) {
            addCriterion("STEP_COPY <", value, "stepCopy");
            return (Criteria) this;
        }

        public Criteria andStepCopyLessThanOrEqualTo(Integer value) {
            addCriterion("STEP_COPY <=", value, "stepCopy");
            return (Criteria) this;
        }

        public Criteria andStepCopyIn(List<Integer> values) {
            addCriterion("STEP_COPY in", values, "stepCopy");
            return (Criteria) this;
        }

        public Criteria andStepCopyNotIn(List<Integer> values) {
            addCriterion("STEP_COPY not in", values, "stepCopy");
            return (Criteria) this;
        }

        public Criteria andStepCopyBetween(Integer value1, Integer value2) {
            addCriterion("STEP_COPY between", value1, value2, "stepCopy");
            return (Criteria) this;
        }

        public Criteria andStepCopyNotBetween(Integer value1, Integer value2) {
            addCriterion("STEP_COPY not between", value1, value2, "stepCopy");
            return (Criteria) this;
        }

        public Criteria andLinesReadIsNull() {
            addCriterion("LINES_READ is null");
            return (Criteria) this;
        }

        public Criteria andLinesReadIsNotNull() {
            addCriterion("LINES_READ is not null");
            return (Criteria) this;
        }

        public Criteria andLinesReadEqualTo(Long value) {
            addCriterion("LINES_READ =", value, "linesRead");
            return (Criteria) this;
        }

        public Criteria andLinesReadNotEqualTo(Long value) {
            addCriterion("LINES_READ <>", value, "linesRead");
            return (Criteria) this;
        }

        public Criteria andLinesReadGreaterThan(Long value) {
            addCriterion("LINES_READ >", value, "linesRead");
            return (Criteria) this;
        }

        public Criteria andLinesReadGreaterThanOrEqualTo(Long value) {
            addCriterion("LINES_READ >=", value, "linesRead");
            return (Criteria) this;
        }

        public Criteria andLinesReadLessThan(Long value) {
            addCriterion("LINES_READ <", value, "linesRead");
            return (Criteria) this;
        }

        public Criteria andLinesReadLessThanOrEqualTo(Long value) {
            addCriterion("LINES_READ <=", value, "linesRead");
            return (Criteria) this;
        }

        public Criteria andLinesReadIn(List<Long> values) {
            addCriterion("LINES_READ in", values, "linesRead");
            return (Criteria) this;
        }

        public Criteria andLinesReadNotIn(List<Long> values) {
            addCriterion("LINES_READ not in", values, "linesRead");
            return (Criteria) this;
        }

        public Criteria andLinesReadBetween(Long value1, Long value2) {
            addCriterion("LINES_READ between", value1, value2, "linesRead");
            return (Criteria) this;
        }

        public Criteria andLinesReadNotBetween(Long value1, Long value2) {
            addCriterion("LINES_READ not between", value1, value2, "linesRead");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenIsNull() {
            addCriterion("LINES_WRITTEN is null");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenIsNotNull() {
            addCriterion("LINES_WRITTEN is not null");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenEqualTo(Long value) {
            addCriterion("LINES_WRITTEN =", value, "linesWritten");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenNotEqualTo(Long value) {
            addCriterion("LINES_WRITTEN <>", value, "linesWritten");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenGreaterThan(Long value) {
            addCriterion("LINES_WRITTEN >", value, "linesWritten");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenGreaterThanOrEqualTo(Long value) {
            addCriterion("LINES_WRITTEN >=", value, "linesWritten");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenLessThan(Long value) {
            addCriterion("LINES_WRITTEN <", value, "linesWritten");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenLessThanOrEqualTo(Long value) {
            addCriterion("LINES_WRITTEN <=", value, "linesWritten");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenIn(List<Long> values) {
            addCriterion("LINES_WRITTEN in", values, "linesWritten");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenNotIn(List<Long> values) {
            addCriterion("LINES_WRITTEN not in", values, "linesWritten");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenBetween(Long value1, Long value2) {
            addCriterion("LINES_WRITTEN between", value1, value2, "linesWritten");
            return (Criteria) this;
        }

        public Criteria andLinesWrittenNotBetween(Long value1, Long value2) {
            addCriterion("LINES_WRITTEN not between", value1, value2, "linesWritten");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedIsNull() {
            addCriterion("LINES_UPDATED is null");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedIsNotNull() {
            addCriterion("LINES_UPDATED is not null");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedEqualTo(Long value) {
            addCriterion("LINES_UPDATED =", value, "linesUpdated");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedNotEqualTo(Long value) {
            addCriterion("LINES_UPDATED <>", value, "linesUpdated");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedGreaterThan(Long value) {
            addCriterion("LINES_UPDATED >", value, "linesUpdated");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedGreaterThanOrEqualTo(Long value) {
            addCriterion("LINES_UPDATED >=", value, "linesUpdated");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedLessThan(Long value) {
            addCriterion("LINES_UPDATED <", value, "linesUpdated");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedLessThanOrEqualTo(Long value) {
            addCriterion("LINES_UPDATED <=", value, "linesUpdated");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedIn(List<Long> values) {
            addCriterion("LINES_UPDATED in", values, "linesUpdated");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedNotIn(List<Long> values) {
            addCriterion("LINES_UPDATED not in", values, "linesUpdated");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedBetween(Long value1, Long value2) {
            addCriterion("LINES_UPDATED between", value1, value2, "linesUpdated");
            return (Criteria) this;
        }

        public Criteria andLinesUpdatedNotBetween(Long value1, Long value2) {
            addCriterion("LINES_UPDATED not between", value1, value2, "linesUpdated");
            return (Criteria) this;
        }

        public Criteria andLinesInputIsNull() {
            addCriterion("LINES_INPUT is null");
            return (Criteria) this;
        }

        public Criteria andLinesInputIsNotNull() {
            addCriterion("LINES_INPUT is not null");
            return (Criteria) this;
        }

        public Criteria andLinesInputEqualTo(Long value) {
            addCriterion("LINES_INPUT =", value, "linesInput");
            return (Criteria) this;
        }

        public Criteria andLinesInputNotEqualTo(Long value) {
            addCriterion("LINES_INPUT <>", value, "linesInput");
            return (Criteria) this;
        }

        public Criteria andLinesInputGreaterThan(Long value) {
            addCriterion("LINES_INPUT >", value, "linesInput");
            return (Criteria) this;
        }

        public Criteria andLinesInputGreaterThanOrEqualTo(Long value) {
            addCriterion("LINES_INPUT >=", value, "linesInput");
            return (Criteria) this;
        }

        public Criteria andLinesInputLessThan(Long value) {
            addCriterion("LINES_INPUT <", value, "linesInput");
            return (Criteria) this;
        }

        public Criteria andLinesInputLessThanOrEqualTo(Long value) {
            addCriterion("LINES_INPUT <=", value, "linesInput");
            return (Criteria) this;
        }

        public Criteria andLinesInputIn(List<Long> values) {
            addCriterion("LINES_INPUT in", values, "linesInput");
            return (Criteria) this;
        }

        public Criteria andLinesInputNotIn(List<Long> values) {
            addCriterion("LINES_INPUT not in", values, "linesInput");
            return (Criteria) this;
        }

        public Criteria andLinesInputBetween(Long value1, Long value2) {
            addCriterion("LINES_INPUT between", value1, value2, "linesInput");
            return (Criteria) this;
        }

        public Criteria andLinesInputNotBetween(Long value1, Long value2) {
            addCriterion("LINES_INPUT not between", value1, value2, "linesInput");
            return (Criteria) this;
        }

        public Criteria andLinesOutputIsNull() {
            addCriterion("LINES_OUTPUT is null");
            return (Criteria) this;
        }

        public Criteria andLinesOutputIsNotNull() {
            addCriterion("LINES_OUTPUT is not null");
            return (Criteria) this;
        }

        public Criteria andLinesOutputEqualTo(Long value) {
            addCriterion("LINES_OUTPUT =", value, "linesOutput");
            return (Criteria) this;
        }

        public Criteria andLinesOutputNotEqualTo(Long value) {
            addCriterion("LINES_OUTPUT <>", value, "linesOutput");
            return (Criteria) this;
        }

        public Criteria andLinesOutputGreaterThan(Long value) {
            addCriterion("LINES_OUTPUT >", value, "linesOutput");
            return (Criteria) this;
        }

        public Criteria andLinesOutputGreaterThanOrEqualTo(Long value) {
            addCriterion("LINES_OUTPUT >=", value, "linesOutput");
            return (Criteria) this;
        }

        public Criteria andLinesOutputLessThan(Long value) {
            addCriterion("LINES_OUTPUT <", value, "linesOutput");
            return (Criteria) this;
        }

        public Criteria andLinesOutputLessThanOrEqualTo(Long value) {
            addCriterion("LINES_OUTPUT <=", value, "linesOutput");
            return (Criteria) this;
        }

        public Criteria andLinesOutputIn(List<Long> values) {
            addCriterion("LINES_OUTPUT in", values, "linesOutput");
            return (Criteria) this;
        }

        public Criteria andLinesOutputNotIn(List<Long> values) {
            addCriterion("LINES_OUTPUT not in", values, "linesOutput");
            return (Criteria) this;
        }

        public Criteria andLinesOutputBetween(Long value1, Long value2) {
            addCriterion("LINES_OUTPUT between", value1, value2, "linesOutput");
            return (Criteria) this;
        }

        public Criteria andLinesOutputNotBetween(Long value1, Long value2) {
            addCriterion("LINES_OUTPUT not between", value1, value2, "linesOutput");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedIsNull() {
            addCriterion("LINES_REJECTED is null");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedIsNotNull() {
            addCriterion("LINES_REJECTED is not null");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedEqualTo(Long value) {
            addCriterion("LINES_REJECTED =", value, "linesRejected");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedNotEqualTo(Long value) {
            addCriterion("LINES_REJECTED <>", value, "linesRejected");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedGreaterThan(Long value) {
            addCriterion("LINES_REJECTED >", value, "linesRejected");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedGreaterThanOrEqualTo(Long value) {
            addCriterion("LINES_REJECTED >=", value, "linesRejected");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedLessThan(Long value) {
            addCriterion("LINES_REJECTED <", value, "linesRejected");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedLessThanOrEqualTo(Long value) {
            addCriterion("LINES_REJECTED <=", value, "linesRejected");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedIn(List<Long> values) {
            addCriterion("LINES_REJECTED in", values, "linesRejected");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedNotIn(List<Long> values) {
            addCriterion("LINES_REJECTED not in", values, "linesRejected");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedBetween(Long value1, Long value2) {
            addCriterion("LINES_REJECTED between", value1, value2, "linesRejected");
            return (Criteria) this;
        }

        public Criteria andLinesRejectedNotBetween(Long value1, Long value2) {
            addCriterion("LINES_REJECTED not between", value1, value2, "linesRejected");
            return (Criteria) this;
        }

        public Criteria andErrorsIsNull() {
            addCriterion("ERRORS is null");
            return (Criteria) this;
        }

        public Criteria andErrorsIsNotNull() {
            addCriterion("ERRORS is not null");
            return (Criteria) this;
        }

        public Criteria andErrorsEqualTo(Long value) {
            addCriterion("ERRORS =", value, "errors");
            return (Criteria) this;
        }

        public Criteria andErrorsNotEqualTo(Long value) {
            addCriterion("ERRORS <>", value, "errors");
            return (Criteria) this;
        }

        public Criteria andErrorsGreaterThan(Long value) {
            addCriterion("ERRORS >", value, "errors");
            return (Criteria) this;
        }

        public Criteria andErrorsGreaterThanOrEqualTo(Long value) {
            addCriterion("ERRORS >=", value, "errors");
            return (Criteria) this;
        }

        public Criteria andErrorsLessThan(Long value) {
            addCriterion("ERRORS <", value, "errors");
            return (Criteria) this;
        }

        public Criteria andErrorsLessThanOrEqualTo(Long value) {
            addCriterion("ERRORS <=", value, "errors");
            return (Criteria) this;
        }

        public Criteria andErrorsIn(List<Long> values) {
            addCriterion("ERRORS in", values, "errors");
            return (Criteria) this;
        }

        public Criteria andErrorsNotIn(List<Long> values) {
            addCriterion("ERRORS not in", values, "errors");
            return (Criteria) this;
        }

        public Criteria andErrorsBetween(Long value1, Long value2) {
            addCriterion("ERRORS between", value1, value2, "errors");
            return (Criteria) this;
        }

        public Criteria andErrorsNotBetween(Long value1, Long value2) {
            addCriterion("ERRORS not between", value1, value2, "errors");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}